package com.core.zyyz.amc.modules.domain;

import com.core.common.annotation.Excel;
import com.core.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公用功能配置对象 amc_pub_function_b
 *
 * @author lfs
 * @date 2024-11-21
 */
public class AmcPubFunctionB extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 功能id */
    private String functionId;

    /** 功能编号 */
    @Excel(name = "功能编号")
    private String functionCode;

    /** 功能名称 */
    @Excel(name = "功能名称")
    private String functionName;

    /** 功能表主键 */
    @Excel(name = "功能表主键")
    private String functionTableId;

    /** 主页URL */
    @Excel(name = "主页URL")
    private String mainUrl;

    /** 新增URL */
    @Excel(name = "新增URL")
    private String addUrl;

    /** 查看RUL */
    @Excel(name = "查看RUL")
    private String viewUrl;

    /** 查询条件 */
    @Excel(name = "查询条件")
    private String queryField;

    /** 后台接口地址 */
    @Excel(name = "后台接口地址")
    private String mappingUrl;

    /** 序号 */
    @Excel(name = "序号")
    private Long functionSeq;

    public void setFunctionId(String functionId)
    {
        this.functionId = functionId;
    }

    public String getFunctionId()
    {
        return functionId;
    }
    public void setFunctionCode(String functionCode)
    {
        this.functionCode = functionCode;
    }

    public String getFunctionCode()
    {
        return functionCode;
    }
    public void setFunctionName(String functionName)
    {
        this.functionName = functionName;
    }

    public String getFunctionName()
    {
        return functionName;
    }
    public void setFunctionTableId(String functionTableId)
    {
        this.functionTableId = functionTableId;
    }

    public String getFunctionTableId()
    {
        return functionTableId;
    }
    public void setMainUrl(String mainUrl)
    {
        this.mainUrl = mainUrl;
    }

    public String getMainUrl()
    {
        return mainUrl;
    }
    public void setAddUrl(String addUrl)
    {
        this.addUrl = addUrl;
    }

    public String getAddUrl()
    {
        return addUrl;
    }
    public void setViewUrl(String viewUrl)
    {
        this.viewUrl = viewUrl;
    }

    public String getViewUrl()
    {
        return viewUrl;
    }
    public void setQueryField(String queryField)
    {
        this.queryField = queryField;
    }

    public String getQueryField()
    {
        return queryField;
    }
    public void setMappingUrl(String mappingUrl)
    {
        this.mappingUrl = mappingUrl;
    }

    public String getMappingUrl()
    {
        return mappingUrl;
    }
    public void setFunctionSeq(Long functionSeq)
    {
        this.functionSeq = functionSeq;
    }

    public Long getFunctionSeq()
    {
        return functionSeq;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("functionId", getFunctionId())
                .append("functionCode", getFunctionCode())
                .append("functionName", getFunctionName())
                .append("functionTableId", getFunctionTableId())
                .append("mainUrl", getMainUrl())
                .append("addUrl", getAddUrl())
                .append("viewUrl", getViewUrl())
                .append("queryField", getQueryField())
                .append("mappingUrl", getMappingUrl())
                .append("functionSeq", getFunctionSeq())
                .toString();
    }
}
